package com.haizhi.crm.biz.model;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * Created by yangyijun on 2018/6/5.
 */
@Data
public class CustomerEventQo {

    @NotNull(message = "客户key不能为空" )
    @ApiModelProperty(value = "客户key" )
    String customerKey;

    @NotNull(message = "事件类型不能为空" )
    @ApiModelProperty(value = "事件类型" )
    String eventType;

    @Min(value = 1)
    Integer pageNo = 1;

    @Min(value = 1)
    Integer pageSize = 10;
}
